<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>复习</title>
</head>
<body>
    <script>
        // let [a,b,c] =[1,2]
        // console.log(a);
        // console.log(c);
        // let{cc,aa}={aa:1,bb:2,cc:3}
        // console.log(cc);
        // console.log(aa);
        let [a,b,...rest]=[1,2,3,4,5,6]
        console.log(a,b,rest);
        //请写出控制台输出什么？——1,2,[3,4,5,6]——————————————
        `${a}`
    </script>
</body>
</html>